package com.liu.efk.controller;

import com.liu.efk.dto.DatapickVO;
import com.liu.efk.utils.JacksonUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

/**
 * Created by shi860715@126.com
 * Date 2021/4/2 9:05
 * Description
 */
@RestController
@CrossOrigin
@Slf4j
@RequestMapping("/vue")
public class TestController {


   @PostMapping("/test")
 public String test01(@RequestBody DatapickVO datapick){
       log.info(""+ JacksonUtil.printJson(datapick));
     return "vue datapicker test";
 }

}
